package com.bigdata.spark.core.framework.controller

import com.bigdata.spark.core.framework.common.TController
import com.bigdata.spark.core.framework.service.WordCountService

class WordCountController extends TController{

  private val wordCountSerice = new WordCountService()

  //调度
  def dispatch():Unit={
    //执行业务逻辑
    val array = wordCountSerice.dataAnalysis()
    array.foreach(println)
  }

}
